@font-face {
  font-family:'Consolas1';
    src:url("../fonts/Consolas/consola-1.ttf");
}

.p-title {
  height: 50px;
  line-height: 50px;
  padding-left: 20px;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  color: #101010;
  background: #f0f0f2;
  margin: 0;
}
.c-primary { color: #1890FF; }
.c-delete { color: #E51C23; }
.module {
  position: relative;
  &.on {
    z-index: 2;
  }

  &.nhalf {
    flex: 1;
    min-height: 150px;
  }

  &.shalf {
    overflow: hidden;
    max-height: calc(100% - 150px);
    min-height: 150px;
  }
  &.max {
    height: calc(100% - 35px);
  }

  .module-title {
    padding: 0 5px;
    border-bottom: 1px solid #e5e5e5;

    * {
      height: 30px;
      line-height: 30px;
    }
    &.down {
      position: absolute;
      top: 4px;
      width: 100%;
      text-align: center;
    }
  }
  .module-content {
    overflow-y: auto;
    height: calc(100% - 30px);
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    &.down {
      position: absolute;
      top: 35px;
    }
  }
  .resize-line {
    position: absolute;
    width: 100%;
    height: 1px;
    top: 0;
    bottom: auto;
    pointer-events: none;
    background-color: transparent;
    transition: .3s;
  }
  .resize-bottom {
    width: 25px;
    height: 300px;
    min-height: 31px;
    max-height: 100%;
    resize: vertical;
    overflow: hidden;
    transform: scale(100, -1);
    margin: -3px 0 0 0;
    opacity: 0;
    &.resize1 {
      max-height: 31px;
    }
  }
  .resize-bottom:hover ~.resize-line,
  .resize-bottom:active ~.resize-line {
    height: 3px;
    background-color: royalblue;
  }
}
.resizeLine {
  position: absolute;
  right: 0;
  width: 1px;
  top: 0;
  bottom: 0;
  background-color: #e5e5e5;
  pointer-events: none;
  transition: .3s;
}
.resize-left {
  width: 250px;
  height: 16px;
  max-width: calc(100vw - 400px);
  resize: horizontal;
  overflow: hidden;
  transform: scaleY(100);
  opacity: 0;
  &.resize1 {
    max-width: 19px;
    min-width: 19px;
  }
}
.resize-left:hover ~.resizeLine,
.resize-left:active ~.resizeLine {
  width: 3px;
  background-color:royalblue;
}

.red { color: red; }
.gray { 
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
  opacity: 0.4;//通过改变透明度来调节灰色的程度
}


